package com.xiaowu.netmusic.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaowu.netmusic.domain.dto.CommentAddDTO;
import com.xiaowu.netmusic.domain.po.Comment;
import com.xiaowu.netmusic.domain.vo.CommentVO;

public interface CommentService extends IService<Comment> {

    boolean addComment(CommentAddDTO dto);

        IPage<CommentVO> getCommentPage(String targetType, Long targetId, int page, int size, Long currentUserId);



    boolean deleteComment(Long commentId, Long userId, boolean isAdmin);
}
